package com.cnhis.cloudhealth.clinical.hosdoctor.clinicalpathway.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.cnhis.cloudhealth.clinical.hosdoctor.clinicalpathway.bo.ClinicalpathwayBo;
import com.cnhis.cloudhealth.clinical.hosdoctor.doctororder.bo.DoctororderBo;
import com.cnhis.cloudhealth.clinical.hosdoctor.doctororder.service.IDoctororder;
import com.cnhis.cloudhealth.commons.Mappers.ModelVo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

/**
 * Created by xiezhenyuan on 2016/3/25.
 */
@Service
public class ClinicalpathwayImpl implements IClinicalpathway {

    @Autowired
    private ClinicalpathwayBo clinicalpathwayBo;
    @Override
    public ModelVo isInpathway(Map map) {
        return clinicalpathwayBo.isInpathway(map);
    }

    @Override
    public ModelVo getNursingprogram(Map map) {
        return clinicalpathwayBo.selectNursingprogram(map);
    }

    @Override
    public ModelVo getPathwayitems(Map map) {
        return clinicalpathwayBo.selectPathwayitems(map);
    }

    @Override
    public ModelVo getThePwitem(Map map) {
        return clinicalpathwayBo.selectThePwitem(map);
    }

    @Override
    public ModelVo getPwbeginitem(Map map) {
        return clinicalpathwayBo.selectPwbeginitem(map);
    }

    @Override
    public ModelVo insertClipathway(Map map) throws Exception{
        return clinicalpathwayBo.insertClipathway(map);
    }

    @Override
    public ModelVo getPwinfo(Map map) {
        return clinicalpathwayBo.selectPwinfo(map);
    }

    @Override
    public ModelVo getPwevalinfo(Map map) {
        return clinicalpathwayBo.selectPwevalinfo(map);
    }

    @Override
    public ModelVo getPfeewarnline(Map map) {
        return clinicalpathwayBo.selectPfeewarnline(map);
    }

    @Override
    public ModelVo warnFeeline(Map map) {
        return clinicalpathwayBo.warnFeeline(map);
    }

    @Override
    public ModelVo remindRiskvalue(Map map) {
        return clinicalpathwayBo.remindRiskvalue(map);
    }

    @Override
    public ModelVo getPathwayType() {
        return clinicalpathwayBo.selectPathwayType();
    }

    @Override
    public ModelVo getPathwayCon() {
        return clinicalpathwayBo.selectPathwayCon();
    }

    @Override
    public ModelVo getPathwayLim() {
        return clinicalpathwayBo.selectPathwayLim();
    }

    @Override
    public ModelVo getPathwayXz() {
        return clinicalpathwayBo.selectPathwayXz();
    }

    @Override
    public ModelVo getPathwayId(Map map) throws Exception{
        return clinicalpathwayBo.selectPathwayId(map);
    }

    @Override
    public ModelVo getMontherchildtype(Map map) {
        return clinicalpathwayBo.selectMontherchildtype(map);
    }

    @Override
    public ModelVo getProimportinfo(Map map,int pageno,int pagesize) {
        return clinicalpathwayBo.selectProimportinfo(map,pageno,pagesize);
    }

    @Override
    public ModelVo getPathwayorder(Map map) throws Exception{
        return clinicalpathwayBo.selectPathwayorder(map);
    }

    @Override
    public ModelVo getPathwayhistory(Map map) {
        return clinicalpathwayBo.selectPathwayhistory(map);
    }

    @Override
    public ModelVo getPathwaytree(Map map) {
        return clinicalpathwayBo.selectPathwaytree(map);
    }

    @Override
    public ModelVo getMedicalappform() {
        return clinicalpathwayBo.selectMedicalappform();
    }

    @Override
    public ModelVo getStaffnotice() {
        return clinicalpathwayBo.selectStaffnotice();
    }

    @Override
    public ModelVo getOrdernature(Map map) {
        return clinicalpathwayBo.selectOrdernature(map);
    }

    @Override
    public ModelVo getPchildinfo(Map map) {
        return clinicalpathwayBo.selectPchildinfo(map);
    }

    @Override
    public ModelVo getPtreamlist(Map map) {
        return clinicalpathwayBo.selectPtreamlist(map);
    }

    @Override
    public ModelVo getPtreamprobyid(Map map) {
        return clinicalpathwayBo.selectPtreamprobyid(map);
    }

    @Override
    public ModelVo updatePexeline(Map map) throws  Exception{
        return clinicalpathwayBo.updatePexeline(map);
    }

    @Override
    public ModelVo updatePexelinebatch(Map map) throws Exception {
        return clinicalpathwayBo.updatePexelinebatch(map);
    }

    @Override
    public ModelVo insertevaluation(Map map) throws Exception {
        return clinicalpathwayBo.insertevaluation(map);
    }

    @Override
    public ModelVo getOutreason() {
        return clinicalpathwayBo.selectOutreason();
    }

    @Override
    public ModelVo getOrdercon() {
        return clinicalpathwayBo.selectOrdercon();
    }

    @Override
    public ModelVo getDoctorlist() {
        return clinicalpathwayBo.selectDoctorlist();
    }

    @Override
    public ModelVo getCamdisease(Map map,int pageno,int pagesize) {
        return clinicalpathwayBo.selectCamdisease(map,pageno,pagesize);
    }

    @Override
    public ModelVo getBakdisease(Map map,int pageno,int pagesize) {
        return clinicalpathwayBo.selectBakdisease(map,pageno,pagesize);
    }
    public ModelVo getIaddisease(Map map,int pageno,int pagesize){
    	return clinicalpathwayBo.selectIaddisease(map,pageno,pagesize);
    }
    @Override
    public ModelVo getChangereason() {
        return clinicalpathwayBo.selectChangereason();
    }
}
